We can also use the interval event to count down the timer.

  • Use Set Size to change new_litter's size to 0.3 inside your event.
  • Use Subtract Value so the timer counts down by 1.
  • Use Update Display to update your timer_display.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)